1 00:00:01,150 --> 00:00:05,740 Okay, so in this lecture I'm going to be creating the animations for each gun. 2 00:00:05,740 --> 00:00:11,350 Specifically, we will need an animation for equipping the gun and animation for reloading the gun and 3 00:00:11,350 --> 00:00:12,970 an animation for shooting the gun. 4 00:00:12,970 --> 00:00:17,320 And you need to do this for all of the guns in the game, but we can also reuse some animations for 5 00:00:17,320 --> 00:00:18,310 our shotguns. 6 00:00:18,310 --> 00:00:23,290 I must note that there are several things you must do if you're going to create your own animations. 7 00:00:23,290 --> 00:00:26,890 First, the equip animation must only be one keyframe long. 8 00:00:26,890 --> 00:00:32,050 It must be repeating, and it must have an animation priority of at least movement or greater. 9 00:00:32,050 --> 00:00:35,740 This is because we need to override the default equip animation for tools. 10 00:00:36,370 --> 00:00:37,630 For the shoot animation. 11 00:00:37,630 --> 00:00:42,490 You can make the length whatever you'd like, but just make sure the animation priority is set to action. 12 00:00:42,940 --> 00:00:47,680 And then for the reload animation, you want to make sure that the animation is one second long in total, 13 00:00:47,680 --> 00:00:51,130 meaning that from the first keyframe to the last keyframe is one second. 14 00:00:51,130 --> 00:00:55,780 This is because we're going to manipulate the speed at which the reload animation is played, giving 15 00:00:55,780 --> 00:00:59,320 us total control for how long we want the reload animation to be played. 16 00:00:59,320 --> 00:01:03,040 You also want to set the reload animation to have an action priority as well. 17 00:01:03,040 --> 00:01:08,380 If there isn't enough keyframes in one second for your reload animation, then you can adjust the frame 18 00:01:08,380 --> 00:01:11,920 rate of your animation to give you more detailed controls. 19 00:01:12,070 --> 00:01:17,560 Both the shoot and reload animations should have a starting and ending keyframe that is the exact same 20 00:01:17,560 --> 00:01:18,910 as your equip animation. 21 00:01:18,910 --> 00:01:23,500 If you'd like to use the animations I've created, then I have attached a model to this lecture that 22 00:01:23,500 --> 00:01:26,290 you can grab and publish the animations to your account. 23 00:01:26,290 --> 00:01:31,150 Otherwise, enjoy this short montage of me creating the animations and I'll see you in the next lecture.